import axios from "axios"
import {prefix} from "./index";
export const showSnapshot = async (orderId) => {
    let response = await axios({
        method: "get",
        url: prefix +"/snapshots" ,
        params: {orderId}
    })
    return response.data;

}
export const showSnapshot1 = async (pageParam) => {
    let response = await axios({
        method: "get",
        url: prefix +"/snapshots" ,
        params: pageParam
    })
    return response.data;

}